package com.example.scenictourback.service;

import com.example.scenictourback.dto.PaymentDTO;

public interface PaymentService {
    
    /**
     * 创建支付记录
     */
    PaymentDTO createPayment(PaymentDTO paymentDTO);
    
    /**
     * 处理支付
     */
    PaymentDTO processPayment(Integer orderId, Integer paymentMethod);
    
    /**
     * 根据ID获取支付记录
     */
    PaymentDTO getPaymentById(Integer id);
    
    /**
     * 根据订单ID获取支付记录
     */
    PaymentDTO getPaymentByOrderId(Integer orderId);
} 